package com.iflytek.pet.common.exception;

/**
 * @author: JohnRambo
 * @description: TODO
 * @date: 2024/5/26 13:47
 * @version: 1.0
 */
public class BizException extends RuntimeException {

    private Integer code;

    private Integer msg;

    public BizException(Integer code, Integer msg) {
        super();
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getMsg() {
        return msg;
    }

    public void setMsg(Integer msg) {
        this.msg = msg;
    }
}